cont = 0
n = 1
for letra in 'abcdefghijklmnopqrstuvwxyz':
    print(letra, end=' ')
    cont += 1
    if (cont % n) == 0:
        print()
        cont = 0
        n += 1
